The following code is an example of how to use the PEGetJobStatus function to get the status of a print job, along with other information regarding the current job:
short status;
struct PEJobInfo jobInfo;
// Initialize size of structure
jobInfo.StructSize = sizeof(PEJobInfo);
status = PEGetJobStatus(Job, &jobInfo);
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |